A Polynomial Time Algorithm for Finding Finite Unions of Tree Pattern Languages
نویسندگان
چکیده
A tree pattern is a structured pattern known as a term in formal logic, and a tree pattern language is the set of trees which are the ground instances of a tree pattern. In this paper, we deal with the class of tree languages whose language is de ned as a union of at most k tree pattern languages, where k is an arbitrary xed positive number. In particular, we present a polynomial time algorithm that, given a nite set of trees, to nd a set of tree patterns that de nes a minimal union of at most k tree pattern languages containing the given set. The algorithm can be considered as a natural extension of Plotkin's anti-uni cation algorithm, which nds a minimal single tree pattern language containing the given set. By using the algorithm, we can realize a consistent and conservative polynomial time inference machine that identi es the class of unions of k tree pattern languages in the limit from positive data for every k > 0.
منابع مشابه
Learning of Finite Unions of Tree Patterns with Internal Structured Variables from Queries
We consider the polynomial time learnability of finite unions of ordered tree patterns with internal structured variables, in the query learning model of Angluin (1988). An ordered tree pattern with internal structured variables, called a term tree, is a rooted tree pattern which consists of tree structures with ordered children and internal structured variables. A term tree is suited for repre...
متن کاملFinding Minimal Generalizations for Unions of Pattern Languages and Its Application to Inductive Inference from Positive Data
A pattern is a string of constant symbols and variables. The language de ned by a pattern p is the set of constant strings obtained from p by substituting nonempty constant strings for variables in p. In this paper we are concerning with polynomial time inference from positive data of the class of unions of a bounded number of pattern languages. We introduce a syntactic notion of minimal multip...
متن کاملFinite Automata and Unions of Regular Patterns with Bounded Constant Segments
The class of unbounded unions of regular pattern languages with bounded constant segments is identifiable from positive data in the limit [1]. Otherwise, no efficient algorithm that performs the inference of this class of languages is known. We propose a solution to this problem using the existing connexion between the positive variety of languages of dot depth 1/2, LJ [2] and the class of unbo...
متن کاملA POLYNOMIAL TIME BRANCH AND BOUND ALGORITHM FOR THE SINGLE ITEM ECONOMIC LOT SIZING PROBLEM WITH ALL UNITS DISCOUNT AND RESALE
The purpose of this paper is to present a polynomial time algorithm which determines the lot sizes for purchase component in Material Requirement Planning (MRP) environments with deterministic time-phased demand with zero lead time. In this model, backlog is not permitted, the unit purchasing price is based on the all-units discount system and resale of the excess units is possible at the order...
متن کاملLearning Deterministically Recognizable Tree Series
We devise a learning algorithm for deterministically recognizable tree series where the weights are taken from a commutative group. For this, we use an adaptation of the minimal adequate teacher model that was originally introduced by Angluin. The algorithm runs in polynomial time and constructs the unique minimal deterministic bottom-up finite state weighted tree automaton that recognizes the ...
متن کامل